<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改数据</title>
</head>
<body>
<form action="/uptStudent">
    <table border="1">
        <input type="hidden" name="id" th:value="${model?.id}">
        <tr>
            <td>
                姓名
            </td>
            <td>
                <input type="text" name="name" th:value="${model?.name}">
            </td>
        </tr>
        <tr>
            <td>
                性别
            </td>
            <td>
                <input type="text" name="sex" th:value="${model?.sex}">
            </td>
        </tr>
        <tr>
            <td>
                关联
            </td>
            <td>
                <input type="text" name="gradeId" th:value="${model?.gradeId}">
            </td>
        </tr>
        <input type="submit" value="提交">
    </table>
</form>
</body>
</html>